import request from '@/utils/request'

export default {
  query(params) {
    return request({
      url: '/base/logistics-attributes/get-list',
      method: 'get',
      params
    })
  },
  add(data) {
    return request({
      url: '/base/logistics-attributes/save',
      method: 'post',
      data
    })
  },
  update(data) {
    return request({
      url: '/base/logistics-attributes/update',
      method: 'post',
      data
    })
  },
  updateStatus(data) {
    return request({
      url: '/base/logistics-attributes/update-status',
      method: 'post',
      data
    })
  },
  getDetail(params) {
    return request({
      url: '/base/logistics-attributes/get-attributes-detail',
      method: 'get',
      params
    })
  },
  getLogisticsLog(params) {
    return request({
      url: '/base/logistics-attributes/get-logistics-attributes-log',
      method: 'get',
      params
    })
  }
}
